package model;

/**
 * The {@link WindowChangedEvent} class is a {@link WindowEvent} that
 * specifies that a Window has either moved, changed its size or was opend/closed..
 *
 */
public class WindowChangedEvent extends WindowEvent {

	/**
	 * Constructor of {@link WindowChangedEvent}.
	 * @param window is the {@link Window} that sends this {@link WindowEvent}.
	 */
	public WindowChangedEvent(final Window window) {
		super(window);
	}

	@Override
	public void accept(final WindowEventVisitor windowEventVisitor) {
		windowEventVisitor.handleWindowChangedEvent(this);
	}
}
